Ext.define('DragonApp.store.HeroPropPosition', {
    extend: 'Ext.data.Store',

    alias: 'store.heroPropPositionStore',

    fields: [
        { name: 'id', type: 'string' },
        { name: 'name', type: 'string' }
    ],
    proxy: {
        type: 'ajax',
        url: './resources/xml/acc_dragon_prop_position.xml',
        reader: {
            type: 'xml',
            record: 'RECORD',
            rootProperty: 'RECORDS'
        }
    },
    autoLoad: true
});